﻿<UserControl xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="SilverlightClient.ThreadControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" d:DesignWidth ="600" d:DesignHeight="98">
    <Grid  Background="{x:Null}" Width="Auto" Height="103">
        <Grid.RowDefinitions>
            <RowDefinition Height="28" />
            <RowDefinition Height="16" />
            <RowDefinition Height="71" />
            <RowDefinition Height="34" />
            <RowDefinition Height="79*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="92"/>
            <ColumnDefinition Width="60"/>
            <ColumnDefinition Width="372"/>
            <ColumnDefinition Width="76*"/>
        </Grid.ColumnDefinitions>
        <sdk:Label Grid.RowSpan="2" Height="31" Name="label3" VerticalAlignment="Top" Content=" " Grid.ColumnSpan="4" UseLayoutRounding="True">
            <sdk:Label.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFD2D2D2" Offset="0.008" />
                    <GradientStop Color="Transparent" Offset="1" />
                </LinearGradientBrush>
            </sdk:Label.Background>
        </sdk:Label>
        <sdk:Label Grid.Column="0" Content="ID"  HorizontalAlignment="Left"  Name="label1" VerticalAlignment="Top" Margin="2,7,0,0" />
        <sdk:Label Grid.Column="1" Content="Subject:" HorizontalAlignment="Left" Name="label2" />
        <sdk:Label Grid.Row="1" Grid.Column="1" Content="Content:"  HorizontalAlignment="Left" Name="label4" VerticalAlignment="Top" />
        <sdk:Label Grid.Column="2" HorizontalAlignment="Left" Name="threadTxt" VerticalAlignment="Top" FontSize="16" Width="341" Margin="28,4,0,0" />
        <sdk:Label  Grid.Row="1" Grid.Column="0" HorizontalAlignment="Left" Name="tidTxt" VerticalAlignment="Top" />
        <StackPanel Grid.Row="1" Grid.Column="2" Grid.RowSpan="2" Margin="0,0,0,20" Background="{x:Null}">
            <TextBox Text="{Binding ElementName=contentEditText, Path=Text}" HorizontalAlignment="Left"  Name="contentTxt" VerticalAlignment="Top" Height="65" Width="369" AcceptsReturn="True" TextWrapping="Wrap" IsEnabled="True" VerticalScrollBarVisibility="Auto" CaretBrush="{x:Null}" BorderThickness="0" IsReadOnly="True"></TextBox>
        </StackPanel>

        <sdk:Label Grid.Row="2" FontSize="14"  HorizontalAlignment="Left"  Name="publishedByLabel" VerticalAlignment="Top" Foreground="#FFC4B8B8" Margin="58,31,0,0" Grid.ColumnSpan="2" />
        <sdk:Label Grid.Row="2" Content="Published by" HorizontalAlignment="Left"  Name="label5" VerticalAlignment="Top" Margin="58,17,0,0" Grid.ColumnSpan="2" />
        <sdk:Label Grid.Row="1" Grid.Column="3" FontSize="14"  HorizontalAlignment="Left"  Name="LastModifyLabel" VerticalAlignment="Top"  Foreground="#FFC4B8B8" Height="87" Grid.RowSpan="2" Width="76" />
        <sdk:Label Grid.Column="3" Content="Last Modified"  HorizontalAlignment="Left" Name="label7" VerticalAlignment="Top" Margin="2,4,0,0" />
        <Image Height="22" Margin="0,4,0,0" HorizontalAlignment="Left" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="22" Source="/SilverlightClient;component/Images/1337098711_wall%20post.png" Grid.Column="2" />
        <Image Grid.Row="1" Height="53" HorizontalAlignment="Left" Margin="3,15,0,0" Name="image2" Stretch="Fill" VerticalAlignment="Top" Width="49" Source="/SilverlightClient;component/Images/user_anonymous_yellow_disabled.png" OpacityMask="#E6C49E9E" Grid.RowSpan="2" />
    </Grid>
</UserControl>
